﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JustCodeTest
{
    class HashCloneToStr
    {
        static void Main()
        {
            //Student student1 = new Student("Ivan", "Petrov", "Petrov", "8705313780", "Pernik Ruse N45", "0896216693",
            //    "i.petroff@gbg.bg", 3, University.TU, Faculty.FKSU, Specialty.KST);
            //Student student2 = new Student("Martin", "Ivajlov", "Borisov", "8705313780", "Pernik Ruse N45", "0896216693",
            //    "i.petroff@gbg.bg", 3, University.TU, Faculty.FKSU, Specialty.KST);
            //Console.WriteLine(student1);
            //Console.WriteLine(student2.GetHashCode());
            //Console.WriteLine(student1 == student2);

            Person p1 = new Person("Ivan", 22);
            Person p2 = new Person("Petko", null);

            Console.WriteLine(p1);
            Console.WriteLine(p2);
        }
    }
}
